Separated lookup flags from revert flags in RevertToSnapshot