Fixed bug where enter click on a text field would perform double search.