cfDocument Page Counters

I’m having issues with the various page numbers and counters in cfdocument and this exact issue was raised previously and apparently fixed in version according to

And yet I’ve tested this on versions ranging from to and all show the same symptom as described in the ticket.

I tried setting up an example on cftry but cfdocument is disabled there.

I was able to try my code on cffiddle where it does run (on ACF) with no issue:

I’m running version of the PDF engine.

I tried asking this on the CF Slack channel with no response so any suggestions at this point would be much appreciated.