Fixed restrict for HierarchyType