Handled another IndexOutOfBoundsException.