Fix issue #21 Various Devices: Crash when deleting multiple images.