HPCC-11740 Queries page not loading

Regression introduced by HPCC-10823

Fixes HPCC-11740

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>