Deletion of single or multiple images now properly works