This weekend, there were back-to-back mass shootings in El Paso, Texas, and Dayton, Ohio. The accused shooter in El Paso, who appears to have published an anti-immigrant manifesto on 8chan declaring the attack a response to a “Hispanic invasion,” killed at least 22 people and injured dozens more at a Walmart in what seems to be the worst anti-Latino attack in the country’s history. On Monday, in light of these massacres, House Democrats called on Senate Majority Leader Mitch McConnell to take up their gun control bill. Tucked into the bill, however, is an anti-immigrant amendment promoting deportation that Republicans, with help from more than two dozen centrist Democrats, pushed in a last-minute maneuver.

H.R. 8, also known as the Bipartisan Background Checks Act of 2019, would expand background checks for all firearms sales, including gun shows and online — though it does make exceptions for situations involving law enforcement or a family member giving a firearm as a gift. The legislation, which the House passed in late February but McConnell has stalled ever since, was the first major piece of gun control legislation the chamber has passed in over two decades.

Democratic lawmakers in both chambers have been urging McConnell to end the Senate’s August recess for a gun control vote. “Mitch McConnell should bring the Senate back into session immediately to pass HR 8, the gun safety bill that has already passed the House. That’s a first step to addressing our serious gun violence epidemic,” presidential candidate Sen. Bernie Sanders tweeted. Ohio Sen. Sherrod Brown, Senate Minority Leader Chuck Schumer, and California Rep. Ted Lieu have also called on McConnell to bring the measure to a vote.

But Democrats are ignoring the anti-immigrant rider in their renewed effort to pass this gun reform measure. Just before the bill went to a vote, Rep. Doug Collins, R-Ga., forced an amendment through — using a maneuver known as “a motion to recommit” — that would require a gunseller to notify U.S. Immigration and Customs Enforcement when an undocumented immigrant tries to purchase a gun. While only 26 Democrats voted in favor of the amendment to empower ICE, the final version of the bill passed 240-190, with only two Democrats voting against it.

“What we are simply saying is that, if you have someone who is a criminal who came into our country illegally — criminal time number one — if they then try to buy or purchase a firearm which they are unable to do, that is the second strike as a criminal, and what we are simply saying is, if they do that, they will be reported to ICE,” Collins said on the floor.

“Now, which members in this body are opposed to notifying law enforcement when a person prohibited from purchasing a firearm attempts to do so? Are we against that? No. I believe my friends across the aisle are not. I have heard it all day: We don’t want criminals to have firearms.”