Fixed an old off-by-one