prevent deleting all project,organization or person, when deleting a contact