change up the logic that builds the query params for mini search
Merge pull request #325 from G5/mini-search-fix

change up the logic that builds the query params for mini search