Back porting the change made by ef4f50089. When a user attempts to delete the contents of the search input box, the last request will get partially ignored by not adding the return options since the input is empited by the user.