Fix bug in processing nested changesets