Having trouble separating the 'and' search results from the 'or' search results