[Issue 10290] New: Combination of syncrepl+rwm+syncprov frees the wrong modlist