HPCC-10270 SprayVariable has incorrect parameters

Fixes HPCC-10270

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>