[Issue 10259] Wrong RID sends when using syncrepl provider