only applies default filter if no query attribute is provided

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