Corrects off-by-one error