Fix off-by-one.

Apparently I am not good at counting.