Fixed rollback of snapshots.