Alwats empty the change dicts after updating contents

It seems like the change dicts can be left with updates from a previous set of changes if there are changes in both objects and sections. The patch moves the emptying out of the if case so it's always performed at the end.