Add const specifier for matching_facts.