Fix for #574. If multiple changesets are found in parent tree, the latest changeset will be selected.