minor fix to hierarchy selector.