Fixes #1532 Thumbnails allow empty atachment dl

#1532