(a) the lesser of the following amounts:i. the amount by which the aggregate of the taxpayer’s losses, determined without reference to this division and before any deduction under sections 222 to 230, from all farming businesses carried on by the taxpayer during the year exceeds the aggregate of the taxpayer’s incomes, so determined, of the same nature for the same year, and
ii. $2,500 plus the lesser of $15,000 and one-half of the amount by which the amount determined under subparagraph i exceeds $2,500; and