filter based on match categories