View Revisions: Note 1046

Summary 0001445: improve performance of purge queries