Sentry Issue: [POSTHOG-35A](https://sentry.io/organizations/posthog/issues/2487828485/?referrer=github_integration)

```
AttributeError: can't set attribute
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "ee/clickhouse/views/insights.py", line 69, in funnel
    response = self.calculate_funnel(request)
  File "posthog/decorators.py", line 47, in wrapper
    result = f(*args, **kwargs)
  File "ee/clickhouse/views/insights.py", line 80, in calculate_funnel
    filter.funnel_viz_type = FunnelVizType.TRENDS
```
posthog/models/filters/mixins/funnel.py
if self._data.get(FUNNEL_TO_STEP):
            return int(self._data[FUNNEL_TO_STEP])
        return None
    @include_dict
    def funnel_from_to_steps_to_dict(self):
        dict_part = {}
        if self.funnel_from_step:
            dict_part[FUNNEL_FROM_STEP] = self.funnel_from_step
        if self.funnel_to_step:
            dict_part[FUNNEL_TO_STEP] = self.funnel_to_step
        return dict_part
class FunnelWindowDaysMixin(BaseParamMixin):
    @cached_property
    def funnel_window_days(self) -> Optional[int]:
        _days = int(self._data.get(FUNNEL_WINDOW_DAYS, "0"))
        if _days == 0:
            return None
        return _days
    @include_dict
    def funnel_window_days_to_dict(self):
        return {FUNNEL_WINDOW_DAYS: self.funnel_window_days} if self.funnel_window_days else {}
    @staticmethod
    def milliseconds_from_days(days):
        milliseconds, seconds, minutes, hours = [1000, 60, 60, 24]
        return milliseconds * seconds * minutes * hours * days
    @staticmethod
    def microseconds_from_days(days):
        microseconds = 1000
        return microseconds * FunnelWindowDaysMixin.milliseconds_from_days(days)
class FunnelPersonsStepMixin(BaseParamMixin):