checking for deleted images

removing deleted images from list