Fix compilation for rust nightly (#154)

Fixes by removing ambiguity between Ord::max and IndexType::max in two locations.
1 file changed