FIX query returned all the selected images, not the requested