Refines search to clear results if no data exists in input field