[PATCH] qemu: Fix logic bug in inactive snapshot deletion