## Bug description

When you create a trend with two lines, one of which is say $pageview with a filter of browser = chrome and the other is ALSO $pageview but a different filter.

If you click on any the line you get the same users in the persons modal, even if you switch the trend line toggle in the modal.

## How to reproduce

1. Create a new trend
2. Add a $pageview trendline, and another $pageview trendline with a subfilter
3. Click on any of the lines
4. Open the persons modal and switch between the trend lines in the persons modal

## Environment

- [x] PostHog Cloud
- [ ] self-hosted PostHog (ClickHouse-based), version/commit: _please provide_
- [ ] self-hosted PostHog (Postgres-based, legacy), version/commit: _please provide_

## Additional context



#### *Thank you* for your bug report – we love squashing them!

posthog/models/filters/mixins/common.py
@cached_property
    def target_entity_type(self) -> Optional[str]:
        return self._data.get("type", None) or self._data.get("entity_type", None)
    @include_dict
    def entity_type_to_dict(self):
        return {"entity_type": self.target_entity_type} if self.target_entity_type else {}
class EntityMathMixin(BaseParamMixin):
    @cached_property
    def target_entity_math(self) -> Optional[MATH_TYPE]:
        return self._data.get("entity_math", None)
    @include_dict
    def entity_math_to_dict(self):
        return {"entity_math": self.target_entity_math} if self.target_entity_math else {}
class IncludeRecordingsMixin(BaseParamMixin):
    @cached_property
    def include_recordings(self) -> bool:
        include_recordings = self._data.get("include_recordings")
        return include_recordings is True or include_recordings == "true"
    @include_dict
    def include_recordings_to_dict(self):
        return {"include_recordings": self.include_recordings} if self.include_recordings else {}
class SearchMixin(BaseParamMixin):
    @cached_property
    def search(self) -> Optional[str]:
        search = self._data.get("search", None)
        return search