Figure numbering reset

I have been trying to get figure numbering resetting to work properly in the Windows version, but have so far not had any success. It seems that the <$rst_figure> tag is not working correclty (or perhpas not as I expect). The sequential numbering of chapters work fine, and the figure references are also fine but the <$figure> tag number just increases and does not reset between chapters.

Attaching a test file that I had got from the forums that is apparently supposed to compile correctly but which produces the incorrect result in Windows beta (format: Numbering - Chapter Restarts).