Off-by-one bug in off-by-one code.