Fixed issue with native type aliases being always the alias of the first NT.