diff --git a/src/selections.js b/src/selections.js index b80f0bbc..188dea87 100644 --- a/src/selections.js +++ b/src/selections.js @@ -72,7 +72,7 @@ export function buildCypherSelection({ resolveInfo }; return recurse({ - initial: tailSelections.length + initial: fragmentSelections.length ? initial : initial.substring(0, initial.lastIndexOf(',')), ...fragmentTailParams