filters uniqueness of items in a list