Fix sanitation of the unit $atts in cnRetrieve.