HPCC-9335 Fix potential core if the input doesn't support stepping

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