More cleanup to --missing-revisions code