The filter will empty and initialize the set and return you a set of curves and handles that the filter thinks should be selected after operating. This is useful for filters that create or destroy keys as it allows them to maintain the appearance that the selection has not been modified.