Select parent revisions for compare.
Fix OutofBounds exceptions. close #21