minor fix for duplicates filter