Added a filter to make sub menus in the navbar work