Some records have multiple factions. Which faction "counts" is supposed to be determined by the order of factions within enemy rules.js (which is under user control), however the patcher currently gives precedence according to the order of factions within the record (which is not under user control).