HPCC-12178 Fix format string and add braces to clarify if

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>