hierarchicalMenu

Is it possible to show only items where the category is the lowest.
I.e. if I have collar > dogs > collie, when I select collar, I only want the items which have collar as the least specific category, not the items in collar > dogs or collar > dogs > collie