Fix showing distance on details page