@AlinT  somehow I missed your comment about `a[href*="country"]:last-of-type`.
Yes, it works good, perhaps I will update locators to css selectors then.

thanks