Fixed page admin

Fixed a bug where the URI of the new or updated page wouldn’t contain
the parent segment but a duplicate of it’s own if the parent was the
default page.