fix url segments for nested pages in admin