No, certainly not, I don't remember if there were pokemons in these boxes, but I'm sure that there were no bad eggs.
I'll be doing backups from now on. Earlier I didn't have hacked console, but this situation with corrupted save, encouraged me to do it :D. Now I have backed up saves for all my 3ds Pokemon games so, they should be safe now.
Thank you again!