improved defaulting of "Anywhere" selection

The get call now defaults to -1 for the "Anywhere" option when it's not
present in the dictionary, which means that it will be marked as
selected if there is no 'dist' key in the search results.