Fix ranking in country tool