Bugfix for select_teammates to avoid overlap with variable sel.