Fix Distance Instances Comparison [#2206]

Distance instances can now compared the same way as Quantity instances representing length do.