Issue 12928 - Range check dropped for array[length]