Fixed an equality operator bug on Range.