Set min to zero only if all values are positive