Fixed edge case in primitive cell where sites could be mapped to a new number of
sites inconsistent with the volume reduction