telegps: Adapt to distance units switching changes