Fixed bug preventing snapshot destruction