If it has teeth it bites.
All animals are capable of it, it's the only way a snake can defend itself, it's not like it can push you away or tell you to stop.
As for your children getting bit I understand it's a scary thought and goes completely against all you own instinct's, to even think of something harming your children. The only thing you can do to prevent it is teach your kids what behaviors to look for, even then it can still happen, be thankful it’s a snake that is only going to leave a few teeth marks and not a dog that can rip a face off or a cat that can transmit zoonotic diseases via its bite. Snakes are relatively clean and a small one will do very little harm.