bug fix in min and max, to make them work like underscore's min and max