Multipage issue if delete page then undo

Steps to reproduce:

  • open Inkscape
  • page tool: draw two new pages
  • page tool: select the second page
  • delete it
  • ctrl+Z

What happened?

Second page comes back as a white rectangle not selectable

What should have happened?

Second page should come back as a page, selectable and page tool toolbar should display the right number (3) of pages

Version info

Inkscape 1.2-dev (f22b781a, 2022-01-25) on win 8.1

thanks for listening