searching with empty fields now works