Searching for matches of all search terms instead of any search terms; filtering out undefined API results