Fixed bug in location_details view