(#2651) - allow % in doc IDs
(#2636) - fix replication of deleted docs