Hotfix for deleting new entities - error