Correct min return value