Fix Range#max.

Right:
```ruby
(1...3).max #=> 2
```

Wrong:
```ruby
(1...3).max #=> 3
```