Actually, the real problem is that all of this is totally insane. We should be able to delete all messages by threadId.