Fixed bugs with teams table view controller