Maybe that makes me a bad person. I'm not sure.
Doing whatever is necessary for the safety and well-being of your children never makes you a bad person. He and his attorney were trying to destroy you. You outsmarted them. That does not make you anything but a mama bear protecting her children.