fix to problem #4025 for --dump
Merge pull request #4026 from qunox/dumpchange

fix to problem #4025 for --dump