I had a sheep dog who started nipping at kids in groups. I suspected it was her herding instincts coming out too. She started doing it at about two years old.