Description
As reported by Stefan Kögl on the user mailing list, the after_doc_read function attempts to strip credentials from documents retrieved from the special _replicator database. However, if the document does not have a source or target field (commonly when the document is deleted), this causes a function clause exception.