Yes, that's how the laws work. Future laws narrow/refine previous ones unless they are found to be unconstitutional on specific grounds or spell out exceptions.
We have been running with courts writing laws for years -- banana republics had less judicial interference into purview of legislative branch/executive branch. Now the rubber band is snapping the other way and those who have been happy at letting courts to write laws because it was their men/women on courts are now freaking out. Just wait until Kennedy retires in August and Trump gets another originalist there -- outsource unpopular legislation to courts group is in for a world of hurt for decades.
Edit: Not liking that water is wet does not change that the water is wet. Downvotes are not going to change this SCOTUS decision or other coming SCOTUS decision. Neither would they change a retirement of a swing vote and neither would they change that it will happen when Trump is in office and republicans control the Senate.