Fixed: if only one entity was in the sector, it was skipped.