fdo#75032: Add a test case to reproduce the crash.

Change-Id: I1bb980e9872515a8684014a0e0be9fd4c717f9fd
fdo#75032: Skip notes when copying values from undo document.

Notes undo redo are handled separately by the drawing layer.

Change-Id: Iae37ac86889d7a25f25e6dd0b69f724107c6798a