Check array field's bounds properly.