A state legislature is not Congress. Congress is that beast in Washington DC that we all hate, but it only passes federal laws.
The plain language of the first amendment only applies to that beast in DC. Your state legislature was free to do whatever it wanted.
I don't remember which Supreme Court case changed that. I've read it and probably cited it in several legal briefs, but it escapes me now.
Essentially, the Supreme Court said that Congress AND YOUR STATE LEGISLATURE can make no law respecting the establishment of religion.
They're doing that on a case by case basis, and it's not just the 2nd that hasn't been rewritten by the Supreme Court.
In all seriousness, do you think the Supreme Court has the moral and spiritual authority to negate the right of the people to keep and bear arms?
Our inborn rights do not come from laws. Yes, this is a dangerous point of view, but our Founding Fathers used to hold it dear.