## 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!

ee/clickhouse/views/test/test_clickhouse_trends.py
}
                ],
            )
            data = get_trends_aggregate_ok(self.client, request, self.team)
        assert data["$pageview"].value == 2
        assert data["$pageview"].label == "$pageview"
        with freeze_time("2012-01-15T04:01:34.000Z"):
            people = get_people_from_url_ok(self.client, data["$pageview"].person_url)
        assert sorted([p["id"] for p in people]) == sorted(
            [str(created_people["1"].uuid), str(created_people["2"].uuid)]
        )
    @snapshot_clickhouse_queries
    def test_insight_trends_cumulative(self):
        _create_person(team_id=self.team.pk, distinct_ids=["p1"], properties={"key": "some_val"})
        _create_person(team_id=self.team.pk, distinct_ids=["p2"], properties={"key": "some_val"})
        _create_person(team_id=self.team.pk, distinct_ids=["p3"], properties={"key": "some_val"})
        events_by_person = {
            "p1": [
                {"event": "$pageview", "timestamp": datetime(2012, 1, 13, 3), "properties": {"key": "val"}},
                {"event": "$pageview", "timestamp": datetime(2012, 1, 14, 3), "properties": {"key": "val"}},
            ],
            "p2": [{"event": "$pageview", "timestamp": datetime(2012, 1, 13, 3), "properties": {"key": "notval"}},],
            "p3": [{"event": "$pageview", "timestamp": datetime(2012, 1, 14, 3), "properties": {"key": "val"}},],
        }
        created_people = journeys_for(events_by_person, self.team)
        # Tot
        with freeze_time("2012-01-15T04:01:34.000Z"):
            request = TrendsRequest(
                date_from="-14d",
                display="ActionsLineGraphCumulative",