I have the most sociable dog ever but never trust her around excitable children (and bicycles). At the end of the day every dog has survival and hunting instincts. However much we regard them as pets, these instincts are still there under the surface.
As the pack leader, it's for the owner to take responsibility for their animal.