The code @mavrrick58 posted is already applied to v1.9.7 BUT anyone that upgraded in the first couple of hours, needs to do the Repair. Anyone upgrading after those first couple of hours get the fixed code automatically.
One can look at the code , Line 4254 at:
and see that the code (above) has already been applied.
If you see 100% the dreaded "Skipping bad manifest..." then you need to Repair HPM, that's it.