fixes #281; pressing enter in search box with nothing in it no longer trys doing anything.