Eliminate duplicate filters in "retain" list.