Marking entities about to be removed, avoiding multiple removal