Thumbnailer's logic fixed.