Perhaps you phrased it poorly?

Because, as written, you have COMPLETE AND TOTAL IMMUNITY to Lightning or Thunder damage while charged. Not just the instance of damage-ALL damage of that type.

Is that what you intended?