Insert check for range min and max value (on conversion)
Merge pull request #7 from spezialy/fix-range-conversion

Insert check for range min and max value (on conversion)