Fix the parent/child order