Custom Games Team Changing Glitch

I’m not sure if this issue has been asked about (or even answered) before, but it’s been bugging me for a while and I don’t know how to fix it. Whenever I’m playing custom games and try to set up a team-based game type, people are simply unable to switch teams in the lobby. Whenever they try to switch, it just sends them right back to the team they were originally on. Is this a common problem, and if so, is there any way to work around it (that doesn’t involve restarting the lobby/game)?