If there are more than one than they will attack, but if there is only one they won't.

More Compy Encountering Tips