No. Punish the person who commits the crime, not an entire faith community; collective liability is a shortcut to scapegoating and chilling belief.
Exactly. Punishing groups for individual acts also incentivizes communities to hide problems rather than surface them, since cooperation gets you collectively punished anyway.