No, it isn't. You simply haven't thought it through. Try again.
If I were a Senate Democrat, my incentives for including or excluding a provision would be different based on whether I thought the provision had any hope of passage. If it's doomed to certain failure (say, because of Republican power to filibuster and Republican control of the House), I'll only include it if I think it does more good than harm to have that kind of symbolic vote. If it's got a chance of passing, though, the calculus is completely different, and I'll risk a lot of potential political harm for the chance to make a positive change. In this case, the ban was never going to pass, so I might vote to pull it out for strategic reasons.
Now that you've thought it through, do you see your error?