criteriaScales was all wrong. Corrected it to make it look similar to criteriaThresholds.