Fixed a trivial bug in isRangeType().
Merge pull request #418 from vasslitvinov/fix-isRangeType

Fixed a trivial bug in isRangeType().