validate existence of an entity: fixes deletion