Replace call to local restoreChanges with
ExPendingCommandFactory2.Util.sequence.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>