Fix: project scope lost upon click on search category

WP [#3903](https://www.openproject.org/work_packages/3903)

change log:

* `#3371` Fix: [Search] Project scope lost when clicking on search category link