>Do you think you can share your script and input? That would help anyone
>trying to reproduce the bug if they can't find the issue in the code via
>inspection.

I'm afraid not. But I will put some effort into helping to find the bug.