Improved behaviour of the enter key: executes a search if there are no
results showing, otherwises picks the top result.