appreciate your efforts here but that’s still not doing it.
each layer have 50 identical masks . Turning off the opacity of the 49 i didnt want to see worked fine but deleting them hasnt worked.
this time it deleted mask 2 on layer 1 and left the rest . On the other layers all the masks see the same as before..