The previous fix only removed stale entries when the team pairing changed. It missed the case where Wikipedia updates the date/time for the same teams (same pair, different date = different upsert key). Now any knockout match with the same year+round involving either team is deleted unless it is the exact same pairing AND date. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>