Relax unit ontology storage to match attribute ontology restrictions