Fix overreleasing subnodes (#1)