Code tweak in `distanceDetails`.