SVY-7593 avoid unneeded calls to rearrangeGhosts