Bug fix: the unique option was not properly removing duplicates

A typo causes the UniqueFilter to not work.