Select first item of search result is now made smarter