Enable editing of old revisions

Clicking 'Edit' when viewing an old revision correctly switches to
editing an old revision.

Change-Id: Ib63702d06daf7088dcd4cadb20538053dbbe86ef