Fixed bug where teams failed to be selected