Fix #1250 the enter key to execute a query opens advanced search