Deduplicator

should properly remove first document when sending duplicated document