Fix range calculation for non-metric case

The code was missing a conditional to only convert the range when we are in
metric.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Merge pull request #63 from dirkhh/fixRange

Fix range calculation for non-metric case