FS#4503 - npc attacks grouped entities
The npc ignore the fact an entity did nothing to them (even idles) in places they prefer to attack it if they are more near to it.
an NPC shouldn't attack someone because he's in group with who attacked it as it's not possible for the npc to know such a thing.