Made ReturnTupleCalculator respect the returnResult setting on PatternNode