Farty flavours are often H2S. Common in homebrew and farmyard cider. It's volatile, so you can wait it out before packaging. Otherwise, run through copper pipe, or chuck an old penny in.
OH made a cider kit which stank. We stirred with a copper pipe ===> Smell gone completely.
Boiling any fruit...