BZ-1029151 - Task query service does not use usergroupcallback for getTasksByVariousFields

(cherry picked from commit 94a6b2e5f03ef567a4c1f3d77dacc46d87f482d7)