Fixed issues with TermTree localization caused by the new solution not
checking language of super classes.