Fixing #731 by adding "query.smartmenus" component
Merge branch 'hierarchicalMenus'