Fixed restriction of type with hierarchy type
Workaround until lookup_matches correctly accumulates matches in parents