Fixed bug to allow search to take place with no input