Fix Range#max.
Merge pull request #372 from DouweM/fix-range

Fix Range#max.