Fix accessing revisions