Fix admin_page_ordering when setting parent to None

When making a non-primary page primary, its parent should get set to
None.