Fix the bounds check.