Safer Go code for missing values and errors.
Recent revisions are kept. Restoring one creates a new revision.