boolean previousHasComma = false;
// Determine the maximum children count, it is possible the query contains more children
// than the expession's grammar would actually allow. The content assist will only
// provide assistance from the first child to the last allowed child
int childrenCount = collectionExpression.childrenSize();
int count = Math.min(childrenCount, helper.maxCollectionSize(expression));
// Iterate through each child of the collection
for (int index = 0; index < count; index++) {