Ordinal scales correct handling

Corrections to allow ordinal scales in addition to quantitative scales.