Fixing dereplicate option