create_or_replace will modify the first filter among the filters returned by get_filters. You changed get_filters so it returns both (when available) user-specific and global filters. This means that when you save a filter for a specific user, you might write the global one instead.
create_or_replace will modify the first filter among the filters returned by get_filters. You changed get_filters so it returns both (when available) user-specific and global filters. This means that when you save a filter for a specific user, you might write the global one instead.