When encrypted replication is enabled, merging trees fails. Disable secure replication on each tree before doing a merge.