Revised duplication filter.