Fixed min max comparison