The issue with most dogs and children is the childs issue on not being properly supervised being around a dog.
I don't care what breed you have and how long you've had both the kid and dog, leaving the two left together unsupervised is dangerous.
I keep labs because they are very social, and I don't have any tolerance for a mean animal of any species. Yet I wish more people understood what you just said. I saw a toddler walk up to my last dog as she was lying quietly on the floor, and poke her in the eye before I could do anything. Luckily she just turned her head, but it was definitely an "Oh ****" moment.