Fixed the election of the neighbor city