fix missing inbound revision by including first changeset in the range
fix missing revision when build is bad