Fix error in ``get_team_adjustments``