Fix stubborn bugs with checks that catch them.
Recent revisions are kept. Restoring one creates a new revision.