Electrical protection fixes.

fixes https://github.com/CleverRaven/Cataclysm-DDA/issues/6451