HPCC-11740 Queries page not loading

Regression introduced by HPCC-10823

Fixes HPCC-11740

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #6111 from GordonSmith/HPCC-11740

HPCC-11740 Queries page not loading

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>