On Hertz's Invariant form of Maxwell's Equations