So .... I spent hours making a work around, just to realize that the bot doesn't even see the opponent as all-in when an opponent goes all-in in front of us.
I thought the playersattable count was wrong, but it's actually worse than that.
So much for hours making a fix

I did end up finding an error in the original code that only occurs when we have the nuts on the turn (sooo very rare and lucky I found it).
Please use the latest profile on the first page if you are not playing at Ignition.