Another fix for evaluateMissclassificationCost