Hmm...
Well, to say the least, the PBR hack filter isn't very good. Maxed attack IV? It probably thinks 'Ooh look, a maxed IV, it's hacked', so... don't COMPLETELY train up your gengar, just leave the IV by ONE.
I have never had a bad egg before, and I'm making a guess, but I hope it seems...