HPCC-9913 Fix forcing value to bool warning in ccdquery.cpp

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Merge pull request #4987 from afishbeck/ccdquery_warning

HPCC-9913 Fix forcing value to bool warning in ccdquery.cpp

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>