Work around breaking changes to the changeset API in Stash 2.12

Proposed fix for Issue #5.