I am an atheist. So I think the sacraments are just rituals with no power. But at the same time, if you believe in these things and take communion when you are not right with your church, isn't that an affront to your god...?
It isn't like we are talking disagreement with clergy on a personal level. This is saying that you do not uphold the faith itself. Shouldn't you, at the very least, find a church more aligned with your beliefs?
If someone openly condemns the church, they should have no desire to receive communion from it anyway. In the same way, the church should deny this sacrament to people who are not willing to be a part of their community. Religion is about freedom of choice. Those who do not with to be a part of it should not be able to participate.
The church is protected by freedom of religion. The church is free to form its own rules and regulations regarding the practice of its religion and sacraments. People with opposing views aren't forced to attend and are free to find a different church. It would be wrong to tell the church how to practice its religion.