def _strip_dedup_section_from_pnx(pnx_xml):
    """ We must strip the dedup section from a PNX record before re-inserting it """
    for dedup_section in pnx_xml.findall('dedup'):
        pnx_xml.remove(dedup_section)
    return(pnx_xml)