CON-2: Added a repro for CON-2 and changed the test logic to prevent this failure from happening
in the future

CON-2 fails because the search query has at least one word that is smaller than the min index size.
This commit repros the state of CON-2 and fixes this kind of failure by ensuring that tested queries
are valid