/polls/voters.json returning duplicate users across paged requests

I followed the link above to a previous report, which includes a like to a previous previous report which includes something that seems to point to this possibility as well:

That’s a long time ago however so the code might have been totally different back then. (I tried going back in time with Git but the history stopped in 2021 so I assume the code moved at some point.)