Fixes #2501:  "Redo:Cut" does not throw NullPointerExceptions anymore