include maxinclusive in range equality