A small bug where a fixed value is used instead of the counter
Created attachment 12577 [details] Patch
Thanks for the patch, Niklas! I fixed this in my working copy, and it will show up in the repository sooner or later.