Fix printing when a manually created AST node with an empty selection set array is passed to the printer