EDT-405: When viewing XML on the Display tab, make sure that unused term and constraint codes are removed from the ontology.