Fixed out-by-one error in previous commit.