Limit search query to ensure only strings that includes at least one non-whitespace will be searched.  Trim whitecaps as well.