Correcting execution id for generating tuples