Fixing problems caused by change to ontology.