Changed the logic to show preferred counries