That is a reasonable assumption but not always true.
I bet its true this time. Iranian authorities kill capriciously and always blame it on bad morals. They are at least as evil and arbitrary as Hitler and the other Socialist fanatics. In this way they are like Stalin, they usually kill the functional and leave the incompetents alone, all for ideological reasons.