LPS-41483 Due to *PersistenceImpl.removeImpl() the entity can be null here if you try do delete something which has already been deleted