Cleaned up the distance parameter that is passed into the
distanceScanned callback.