Using balance shuffle in a lobby which has bots can cause players to disappear. They are still in the lobby but do not appear in any section. They must manually rejoin a broadcast channel or a team before they reappear.

Player disappears from lobby, player seems to be placed on a random team if the game starts.

Steps to Reproduce:

Create a lobby (only one player needed)
Join radiant
Add one or more bots to Dire (Single unfair bot used successfully, but multiple players and bots works as well)
Press "Balance Shuffle", player will disappear (100% success rate so far, but MMV)
Rejoin a team to reappear

Expected Behavior:
Players should be balanced ignoring bots, not disappear.
Bots should be balanced like players if possible (each skill level has a MMR?).

Note: Was originally posted here.