If we fail to write cached messages, cache the original messages, not the filtered one