Only show query menu item links in projects

https://www.openproject.org/work_packages/3040