Fixed bug with multiple attachments in chat