Make <#secure> tags work even when there are no attachments