diff --git a/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java b/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java index 628dd9ef419..3042b3c3ee0 100644 --- a/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java +++ b/core/src/main/java/com/orientechnologies/orient/core/sql/executor/OMatchExecutionPlanner.java @@ -460,9 +460,7 @@ private void updateScheduleStartingAt( edges.put(outEdge, true); } for (PatternEdge inEdge : startNode.getIn()) { - if (inEdge.getItem().isBidirectional()) { - edges.put(inEdge, false); - } + edges.put(inEdge, false); } for (Map.Entry edgeData : edges.entrySet()) {