The bill was passed, and the amendment was introduced just before the bill was to be voted on. Passing that amendment could have put the law in jeopardy of not passing as there was already the clean bill from the House. Schumer should have introduced that amendment weeks ago. He and Grassley have agreed to address that problem later, together.
It is important to note that the bill as passed does make it illegal to have an undetectable firearm, so a firearm with a removeable metal pin is still illegal. Schumer's amendment really only adds an additional crime--which is certainly a good thing but.