Bug Report: cloze note type

I have encountered a bug with the add-on ‘cloze hide all’; apparently the bug is caused by a general issue in how anki handles clozes. Anyone any ideas, why the bug might arise?

Here the original bug-report: