The Amash amendment was to DEFUND the NSA's phone spying program, not to preserve it.
In the link you provided it says "Question: On agreeing to the Amendment" at the top. Here's Amash's amendment:http://www.govtrack.us/congress/votes/113-2013/h412
So in reality Yarmuth did the opposite: he voted "to end authority for the blanket collection of records under the Patriot Act. It would also bar the NSA and other agencies from using Section 215 of the Patriot Act to collect records, including telephone call records."