getNearestTank now also has an option for exempting factions