title
PR #183 and #185 tried to fix this but missed one aspect when a schemanode is added as a child via class definitions.