That is only true for coins that are recognized on both chains. In the event of a hard fork, all you need to do is send your hardforked coins to a new address, and then start staking from that address. You can then vote on both chains with your coins, and no penalty algorithms will punish you.