Fix a bug in TypeDescrTable creation process.