data tree REFACTOR lyd_compare suffix variations
diff --git a/src/tree_data_hash.c b/src/tree_data_hash.c
index b8a7725..d1756d9 100644
--- a/src/tree_data_hash.c
+++ b/src/tree_data_hash.c
@@ -116,7 +116,7 @@
 
     if (val1->schema->nodetype & (LYS_LIST | LYS_LEAFLIST)) {
         /* match on exact instance */
-        if (!lyd_compare(val1, val2, 0)) {
+        if (!lyd_compare_single(val1, val2, 0)) {
             return 1;
         }
     } else if (val1->schema == val2->schema) {