fixed bug that forced download of all images returned from "query-attachments"