Issue with %%CurrentRecordIndex%% and Servoy 4.01

I found some weird behavior of %%CurrentRecordIndex%% with Servoy 4.01.
I have a form that list a bunch of records and a label containing the tag %%CurrentRecordIndex%%.
It works except for the first record which is numbered to the max record index.

if I show 8 records, they are numbered like this :
8
1
2
3
4
5
6
7

I tried switching the form from list view to table view but had no luck
When I do a showPrintPreview() on this form, the first record of each page is numbered after the max record index of the page, something like this :

3 – First page
1
2
6 – Second page
4
5

has anyone of you encoutered this kind of weird behavior ?

This is probably the same issue as over here.
viewtopic.php?f=8&t=11247

They said it was fixed in 4.0.2 (just not sure when that is going to be released)

Thanks monetteboy I guess I will have to wait for the next release, knowing Servoy it won’t be long

this should be fixed in 4.1b1 so please report if that isnt the case for that version