ProductPotential bug fix

Fixed a potential error source in product potentials due to components
with zero energy.