Crash on Python script execution

This would be the same as this problem already reported: Crash on iterating collection (python)

I think I know what is causing it now, please try in the next update to see if it's fixed.