diff --git a/module/VuFind/src/VuFind/Hierarchy/TreeRenderer/JSTree.php b/module/VuFind/src/VuFind/Hierarchy/TreeRenderer/JSTree.php
index 11382d2b84a9d3c7122bd875427924960ab6bb37..f76315ec4cad43b6041426b1d1adec184a1d19cc 100644
--- a/module/VuFind/src/VuFind/Hierarchy/TreeRenderer/JSTree.php
+++ b/module/VuFind/src/VuFind/Hierarchy/TreeRenderer/JSTree.php
@@ -151,11 +151,9 @@ class JSTree extends AbstractBase
     {
         if (!empty($context) && !empty($mode)) {
             if ($mode == 'List') {
-                $fields = $this->recordDriver->getRawData();
-                array_push($fields['hierarchy_parent_id'], $fields['hierarchy_top_id'][0]);
                 return $this->jsonToHTML(
                     json_decode($this->getJSON($hierarchyID, $context)),
-                    $fields['id']
+                    $this->recordDriver->getUniqueId()
                 );
             } else {
                 return $this->transformCollectionXML(