IRRE children on the table pages get the pid of the parent page in pagetree
If creating children using IRRE on a page, the pid of the parent record is taken. In case of working on pages, the pid is the uid of the parent page. In this case IRRE should use the <b>uid</b> of the parent record.
This should also been implemented and testet if the page is just being created.
(issue imported from #M5704)