Correct syntax issues in Matches_repo.