Fix another consequence of the off-by-1