Farm bill looked good to pass -- until vote