Fix bug that just deleted a bunch of images I'd intended to keep. Argh.