Fix search

Added distinct() to search results and set selected country to the country obtained from user's IP.