Fix for submissions without attachments