I think the game recognizes Sav'd pokès as hacked when you modifiy their IV or Nature. As for the "nature issue", the programmers should find the hidden variables that actually do not match with the ones you create when changing the parameters said before.