Filter out dead revisions in the unmerged graph