Fix an error when "Display team name as" was set to "city"