Isn't it a timing issue? So, listening for that command returned for you non-expected result, before actual join the team.
Consider using "player_team" event.
Or re-write logic entirelly, round_start -> CreateTimer + above Vaggelis code.
Or
[ANY] Wait Connection
__________________