Fixed an issue with the FixExceedingRanges function
Merge pull request #37 from fitoria/master

Fixed an issue with the FixExceedingRanges function