Insights frappe.session.user cache problems

I’m creating a dashboard to present opportunities with Frappe Insights: v3.2.4 (HEAD). I want to display the various graphs filtering by the current user. I used a query script and thought I had solved it. However, I’m having big problems with session isolation per user. If I connect with user X, I get the data for X correctly, but if I disconnect and reconnect with user Y, I continue to see the data for user X. If I clear the cache, for example with frappe.cache().delete_keys(“insights:*”) and press F5, I see the data for Y correctly. This thing seems really strange to me. Can anyone help me?