Changed wrong min value for double params.