Undo issue with 3D box tool [1.3.2, 1.4, 1.5 dev]
Related to https://gitlab.com/inkscape/inkscape/-/issues/4395
#### Steps to reproduce:
<!-- Describe what you did (step-by-step) so we can reproduce: -->
- open Inkscape
- draw some 3D box tool
- undo
#### What happened?
Last 3D box disappears but penultimate is modified
#### What should have happened?
penultimate should not be modified
#### Version info
```
Inkscape 1.3.2 (732a01da63, 2022-12-09) and Inkscape 1.4-dev (dbcff3872, 2023-06-14) win 11
```
issue