Fix change count in regenAll and regenAppend.