Off-by-one fix.