The goal of the bug was actually not about invalid-empty-content messages, but not-downloaded messages.

Now, I don't mind having this behavior for invalid messages as well :)

A not-downloaded message has the "not-downloaded" class because its delivery status is "not-downloaded" as well.