Fixed array bounds checking problem.