Range check bug for Array#[] fixed