shouldn't this be ``&& !empty($this->entityDeletions)`` instead ?