HPCC-9543 Fix crash caused by fix for issue 9467

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