Correct off-by-one error
Notes