Complex sentence: They are typically good with children, but due to their herding behavior, may nip at their heels during play, but this can be trained to not be done.
Split into simpler sentences: They are typically good with children, but due to their herding behavior. May nip at their heels during play, but this can be trained to not be done.