unres_schema_find BUGFIX out of range
diff --git a/src/resolve.c b/src/resolve.c
index 7f27cca..d5930f2 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -7568,7 +7568,7 @@
                 break;
             }
         } else {
-            aux_uniq1 = (struct unres_list_uniq *)unres->item[i - 1];
+            aux_uniq1 = (struct unres_list_uniq *)unres->item[i];
             aux_uniq2 = (struct unres_list_uniq *)item;
             if ((aux_uniq1->list == aux_uniq2->list) && ly_strequal(aux_uniq1->expr, aux_uniq2->expr, 0)) {
                 break;