Fix range end value
Turns out not to be so silly