The do-nothing House of Representatives almost slipped up and did something to protect Americans’ privacy.

The House passed a government funding bill that included an amendment that would have ended the ability of the National Security Agency to conduct “backdoor” warrantless surveillance of the content of Americans’ electronic communications under section 702 of the FISA Amendments Act. The provisions also would have stopped a mandate for technology providers to give law enforcement and other agencies an easy way to tap citizens’ communications.

The bipartisan amendment passed with a veto-proof 293 votes. However, it was stripped from the bill by House leadership before it was sent to the Senate. The bill, without the privacy provisions, could come up for a vote there as early as Monday, according to Sean Vitka at the Sunlight Foundation.

Thirty groups from all parts of the political spectrum have signed a letter to House Speaker John Boehner (R-Ohio) and Minority Leader Nancy Pelosi (D-California) urging them to restore the amendment.