Catching one more IndexOutOfBoundsException