Fix two other identical off-by-one errors.