Fix UndoStack.StartContinuedUndoGroup() if the previous undo group was empty.