Where is the off-by-one error that this addresses?