Included the max value in the inverse interval.

Included the max value in the inverse interval to make it the
complementary of the original interval.