              // Build maps for existing nodes
                const existingNodeMap = new Map();
                const existingItemDataMap = new Map();
                
                existingNodes.forEach(node => {
                    const key = node.dataset.jurisKey;
                    if (key) {
                        existingNodeMap.set(key, node);
                        if (node._jurisItemData) {
                            existingItemDataMap.set(key, node._jurisItemData);
                      