Fix undeleted on untyped entities