BZ-1071944 - REST /task/query operation throws exception when given *no* parameters
(cherry picked from commit 1e3e6b2aaa08ac1db9837f585ea3d7868d955058)