Clearing query from service cache. Fixes all issues in tickets #10851 & ...

https://www.openproject.org/work_packages/10859
https://www.openproject.org/work_packages/10851
I would somehow expect passing `query_id` (with an explicit `null`) to reset the query.

@tilt wdyt?