Bugfixes for Location Search box

Fixing some issues with the search box. Made it so that if nothing was
selected form the list of google autocompletion box. It now selects the
top result if nothing is clicked.