Merge nested dosync transactions