HPCC-12285 Fix set index ranges

Signed-off-by: JamieNoss <james.noss@lexisnexis.com>
I don't think it is helpful - the main benefit is likely to be someone who mistypes something doesn't get an error any more.