restrict process_query_results to content types

Search was returning hits for facets that matched search terms
and causing referenced-before-assignment error.