fix edge case in oncall team sync where a team is deleted and a different team is renamed to that same team name simultaneously. Previously the sync script would interpret the situation as a name swap but the deactivated team wasn't renamed or pruned resulting in a sql integrity error and the old team remaining active and the new team having a temporary placeholder uuid name.
fix edge case in oncall team sync where a team is deleted and a different team is renamed to that same team name simultaneously. Previously the sync script would interpret the situation as a name swap but the deactivated team wasn't renamed or pruned resulting in a sql integrity error and the old team remaining active and the new team having a temporary placeholder uuid name.