Fixed another bug in deduplication document