Server Action repeat, $name suddenly stopped working

Mac, Wappler 6.8.0, NodeJS

Not sure what exactly happened, but I opened up an older project to make some changes to the CMS side of it, and after saving and redeploy a completely unrelated script has stopped working.

What i have managed to figure out so far is this.

My form has a repeat in it, and here is the code

<div id="repeat_open_days_event_days_values_a" is="dmx-repeat" dmx-bind:repeat="$value.groupBy(`ppcc_ppca_block_name`)" class="row">
    <!-- {{$key}} -->
    <div id="repeat_open_days_event_days_values_b" is="dmx-repeat" dmx-bind:repeat="$value" class="col-6">
        <div id="conditional_open_days_event_days_visibility" is="dmx-if" dmx-bind:condition="$index == 0">
            <!-- {{ppcb_id}} -->
            <div class="form-floating mb-3">
                <select class="form-select" id="inp_open_days_event_days_visibility" name="open_days_event_days_visibility" dmx-bind:id="inp_open_days_event_days_visibility[{{ppcb_id}}][visibility]" dmx-bind:name="open_open_days_event_days_visibility[{{ppcb_id}}][visibility]" dmx-bind:value="ppcb_block_class.contains('d-none') ? 'd-none' : 'd-flex'">
                    <option value="d-flex">Shown</option>
                    <option value="d-none">Hidden</option>
                </select>
                <label for="inp_open_days_event_days_visibility">Show/Hide</label>
            </div>
        </div>

When I submit this form the payload looks like this

open_open_days_event_days_visibility[1521][visibility] = d-flex
open_open_days_event_days_visibility[720][visibility] = d-none
open_open_days_event_days_visibility[670][visibility] = d-flex
open_open_days_event_days_visibility[718][visibility] = d-flex
open_open_days_event_days_visibility[671][visibility] = d-flex
open_open_days_event_days_visibility[719][visibility] = d-flex

In my server action I have a repeat with the following expression set {{$_POST.open_open_days_event_days_visibility}}
Inside the repeat I have a database update step that is pretty much updates row id 1521 to d-flex, and row 720 to d-none etc.
I get the id with the following expression {{$name.toNumber()}} used to give 1512 || 720 etc. now outputs as 0 || 1 || 2 etc. same as $index
I get the value with this expression {{$value.visibility}} still gives the correct value

So basically because the ids are no longer accessible from $name in the repeat, I am not really sure how to access the ids. Anyone got any ideas, @Teodor , should the $name give the id like i am expecting? I imagine so because this has worked fine for months and just doesn't now.