Trends categories broken

Issue:
Trends include categories that are excluded in settings.

Details to reproduce:
Create trends.
Update excluded categories.
No change happens to Trends categories.
( one list in settings and another in trends )

You can also see deleted categories in settings and sometimes trends, after deletion.

OS:
Android

Device:
Google pixel 7 pro

App Version:
5.26.1

Screenshots:
Follow instructions above.