Fix nominal classes in CRF.