This is quite funny, as the same "bug" takes place in Reborn as well. The way this works is that Shedinja copies the exact values Ninjask gets when Nincada evolves, basically you have a Ninjask duplicate, but with a Shedinja-style. Nothing that can't be fixed in a future update, though.
coughjancough