Fix a couple bugs in the changeset parsing.