Fix default entity type condition