Fix issue where isVoltageAuthorized() doesn't return true/false properly

When using Voltage, I noticed that the isVoltageAuthorized() failed (i.e., returned false) improperly and restructured the code to make the individual logic tests clearer. This fixed the issue.