Fixed the handling of lower case Team namves