Fix the matching_files query