Don't lookup in parent.hierarchy_type for primitive types