changeset: correcting logic for handling changeset inputs

I am the dumb.