I will make the changes when I have five minutes @lubos. I have an accounting meeting on Friday so I will try and get it done before then.
Here is the post regarding the inventory write off issue that has occurred since I updated to pretty much the latest version. I think that your fix for inventory writeoffs for cash versus accrual has fixed that issue, but caused this issue - I am guessing and this may be related to the OP’s issue as well.