fix broken logic to fall back search queries that returned 0 results to ...

...partial matching instead of full matching of all query terms