diff --git a/src/client/spark_core/Collections/SortedTree.cs b/src/client/spark_core/Collections/SortedTree.cs index 4d4b8ee21..185a76f03 100644 --- a/src/client/spark_core/Collections/SortedTree.cs +++ b/src/client/spark_core/Collections/SortedTree.cs @@ -90,6 +90,9 @@ namespace bts.collections { } else { _remove_from_nursery(pk, node); } + if (node.children.Count > 0) { + _nursery.Add(k, node.children); + } } public SortedTree Resort(IComparer comparer) {