Thanks for this, I guess we follow a “wait-and-see” approach for this bug, since:
- It’s not obvious how it was caused and
- It has not been reproduced in a few sites I checked
- It’s only happened in one place on your site
One more check would be to just run this query too:
SELECT * FROM chat_threads WHERE id = 152;
And make sure it doesn’t return anything.