Thumbnail marked as generated instead of the PDF attachment