HPCC-12285 Fix set index ranges

Signed-off-by: JamieNoss <james.noss@lexisnexis.com>
Let me know what you want me to do but I don't agree with you above comment. It doesn't make sense for code to exist with such an error as the error would render it useless.

I feel that this syntax is intuitive and would thus be a waste to not use, especially since this is in many other languages.