Fix a missing parent in a XML file