Paste: Fixed undo for the -no parameter