Filter out duplicate selections.