Refined elimination of duplicates to not be confused by places with sami names. Also consider place priorities when removing.