Need to temporarily insert a guard clause while I figure out how selectedTeam can be null.