Use Array#at instead of Array#[] for Array#==