It should also be noted that the polarity switch is exceptionally dangerous despite having a purpose in the original design. Look at how AC works if you're unfamiliar. This system is way before I was born but I have no idea how AC was even considered safe without a ground.
Anyway, what you need to do is take the polarity switch out of the circuit all together. The reason you can do this is because all modern outlets have 3 prongs (hot, cold, ground). You hook ground to the chassis and the other two don't matter...because they're contantly changing.