Removed the primary_key restriction on the {huwc_team_assigned} table.
Update conditional loop.