Get next image to delete one at a time

Previously, would cause a lot of extraneous output by trying to
delete images that had already been as part of previous deletes.