Add a null pointer check for the transcoded node type.