Correctly map from min/max values to combined score. Fix #2.