Fix bug in NoTypePolicyEditorComponent