fwiw, I was getting the same kind of failed assert yesterday night, playing with the jrayUGH mod and the 02/12 build of BetterAI. I remember that it had something about eLeaderHeadNum and a -1 somewhere.
I always save my gams at the end of a turn, just before hitting enter. The failed assert...