As far as I know this "auto-defeat" is caused by the great ZH copy protection gone wild. The best thing would be to re-install ZH to a clean directory and then reintegrate your mod.
It's always a good time to re-order your entries, I did it myself over and over again
