ensure templates are correctly returned from NodeType