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>