Fixed deleting of old snapshots.