eggs cannot be traded through wonder trade or gts, only direct play trades, the 'bad eggs' are pokemon that turn into an egg, it's rare that it happens, but if it does, don't touch it and move all your pokemon from that box. Nothings else you can do, and you can't prevent it from happening...