The children could have made her nevous. Is she use to children especially running around? How was your reaction towards her when she barked? Did you let her know that her behavior was not appropriate? One really good thing to do is have one at a time come up to her with a treat. After a while she will think little kids are treat machines.