WASHINGTON (TNS) — An effort to mandate that every employer use a system to check that their employees are working in the country legally was rejected by House leaders Tuesday _ a strong signal that the GOP leadership does not believe it has enough support to be passed as part of a comprehensive immigration bill.

The failure of the e-verify plan — which was eagerly sought by conservatives wary of the bill — means the House will instead vote on a plan that still includes a path to citizenship for 1.8 million Dreamers, people brought to the country illegally as children.

That plan, scheduled for a vote as soon as Wednesday, would impose cuts in legal immigration and provide $25 billion for border security, including President Donald Trump's border wall.

Farm groups strongly opposed the defeated employee verification system. Those groups represent huge swaths of the Central Valley districts of House Majority Leader Kevin McCarthy, R-Calif., and Rep. Jeff Denham, R-Calif., who have been leading immigration efforts in the House.

The decision to allow the now-defeated plan on e-verify to go forward and gauge House Republican support could hurt both members in their November elections.

McCarthy is seen as safe in his district, but Denham, whose district was won by Democratic presidential nominee Hillary Clinton in 2016 and has a huge Latino population, is at risk.

Denham has pushed for a vote on immigration for months, even threatening leadership by joining with Democrats to get more moderate immigration legislation to a vote on the House floor.

Republican leadership, including McCarthy, agreed to broker a deal between Republicans pushing immigration reform, such as Denham, and more conservative members in the House Freedom Caucus, which has about three dozen members. They were looking to subvert the effort that included Democrats.

After weeks of wrangling, it's still unclear if the full immigration bill has the votes to pass. The vote was delayed twice last week as it became obvious it would not appeal to enough Republicans to pass. The GOP controls 235 of the House's 435 seats.

The vast majority of Democrats, if not the entire 193-member caucus, are expected to vote against it.

Denham originally said e-verify would not be included in the bill, because he said he wanted to keep it as narrowly focused as possible. But then he reversed by allowing it to be considered after further negotiations with leadership and the Freedom Caucus, signaling he was open to such a provision if it meant the bill could achieve enough votes to pass.

The defeated plan would have required within the next two years that all businesses verify their employees could work legally in the U.S. In return, it offered an agricultural worker visa — many farm workers in the U.S. are known to be undocumented — but would not allow those farm workers already working in the U.S. illegally to apply for the visa.

The agricultural industry lobbied hard against the inclusion of the amendment, saying it is already struggling with a worker shortage and the proposal would exacerbate the problem. Farmers have only signaled support for an agricultural worker visa that allowed current undocumented workers to apply without having to return to their home countries.

Republicans in Congress are unlikely to support a provision under those terms, which many equate to amnesty.