The best way to avoid this is to just have a standing rule about no evil PCs. I’ve found that it’s often good to extend that rule to Chaotic Neutral PCs, since that also often indicates the character will be selfish with no regard for the rest of the party.