```team_ids.each { |h, (id, (role, _))| removed_ids << [id, 'team', nil, id] if role == :none }```