Trying to simplify things...
Restructuring of code. Deleting pages with children finally works.
Restructuring of code. Deleting pages with children finally works.