Histogram: fix relative scale condition