Fix sense reversal for min/max in hxlcount.