Thanks for your suggestions ! Yeah, you are right about handling a user error by a message telling him/her that the /team command is incorrect. The next fix will reach you, shortly, guys
It can be a bit confusing to do a switch team, the player did not expect.