Changed comparator to be more concise
Fixes user ramp values