The Supreme Court got it right--you can't censor speech just because it is ugly. And there's none uglier than the Westboro Baptist "Church's" protests at funerals of servicemen and women, contending that our nation's military deaths are God's punishment because we've gone soft on gays. (So what caused all those military deaths during the Civil War? Never mind.)
Once you start trying to sort out "good" free speech from "bad" free speech you've headed down the wrong path.
Of course, there'd be nothing wrong with shutting down the "church" with counter protests. (The Westboro "church" is really just an extended family of very misguided kooks.)