Fixed 'Bug 14998 - Type system error on renaming type'.