off-by-one error in the range output example

Typo in recipe