Thanks for the new dump and your patience. It shows me now where the problem might be, so I'm working on a fix.
But just to be sure, could you please repeat the previous process 3 times and attach 3 debug files from each cycle? I need to verify if there's some random behavior to fan control logic, or if the results show always the same schema.