opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/DN2URI.java
@@ -625,7 +625,7 @@ { // Initialize the cursor very close to the starting value then // step forward until we pass the ending value. boolean success = cursor.positionToKey(suffix); boolean success = cursor.positionToKeyOrNext(suffix); while (success && cursor.getKey().compareTo(end) < 0) { // We have found a subordinate referral.