model/geo: Fixed get_clustered_locations() function