You have a save state error. The origional spot where the team was saved has been moved or deleted. If Shoddy battle can not find the team file, It loads the previous back up file, (Which is the previous battle the team fought )
I have experimented with the glitch, and it can be really bad to battling. I told Colin of the error, but he is unable to fix it at the time. Oh well, just don't abuse it :P