Comments
Fixed off-by-one error found by Nico
Another off-by-one error