Fix for swap rows in transaction advancer.
Fix for swap rows in transaction advancer.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core