Thanks!
Previously Summary quantiles were updated after writing them to the output, so the output contained old quantile values.