Fix wrong diff result if multiple files have been changed in the changeset at once.