Fixed min/max bug in stats combiner