Jonathan Carr at Carr's Ciderhouse in Hadley.  When state legislators passed a law last summer allowing consumers to mail-order wine from out-of-state wineries, they accidentally deleted language that allowed Mass. farm wineries to sell their product directly to restaurants and liquor stores. The law, set to go into effect on January 1, could cost dozens of Massachusetts farm wineries up to half of their business. Legislators are now scrambling to fix their mistake before the end of the year. Jonathan Carr of Carr's Ciderhouse is one such small producer that would be hurt by this mistake.