Lawmakers are nearing an agreement to fix a last-minute tax law change that created an imbalance in tax incentives for farmers selling to cooperatives rather than private companies, Iowa Sen. Chuck Grassley told reporters last week.

The controversial new Section 199A tax law established a 20 percent...