diff --git a/src/Moose-Query/MQNavigationQuery.class.st b/src/Moose-Query/MQNavigationQuery.class.st index 1ba8d5e9..887c9ecb 100644 --- a/src/Moose-Query/MQNavigationQuery.class.st +++ b/src/Moose-Query/MQNavigationQuery.class.st @@ -192,7 +192,7 @@ MQNavigationQuery >> queryFor: anEntity [ (anEntity perform: (selectors at: index)) ifNotNil: [ :children | | coll | - 1 to: (coll := children asCollection) size do: [ :i | self queryFor: (coll at: i) ] ] ] + 1 to: (coll := OrderedCollection withAll: children) size do: [ :i | self queryFor: (coll at: i) ] ] ] ] { #category : #execution }