`if (thread.hasDrafts()) {
Drafts.delete({threadId: threadId}); // if this works like you expect, which I'm still looking at
}`

?