Hi agatity,
I've checked your logs, well done for finding them and making one zip file by the way!
I only had time for 15:40 Ponte on the 9th of April. But it helped reveal a logical error in the formula of the bet amount in the trigger that backs on drifters. Indeed, if a bet is only partial matched, its matched payout must be deducted from the initial payout, and in my formula it was the matched bet, not the payout. Don't know how I got away with this before, I can recall several races where my bets were matched partially, yet I don't remember being exposed to loss in them. Hmmm...
Anyway, thanks for taking the time to save and attach all this info, it really helped me to improve the triggers. I amended the trigger file in the example on our web site.