Remove ambiguous compare with the result of the function. wg_set_field return value <=0 in all time, but "if" hope positive value