Set Material Value Param sets values on wrong materials

I have multiple materials, each with a value node that controlls the materials alpha. All of these nodes are named “Alpha”. When I tried to change the value using the “Set Material Value Param” node it changes the value of the “Alpha” node of a random material (I guess the first in the stack?) but not the value of the material I send into the nodes “Material” input.
For a workaround I had to rename the value nodes to “AlphaCubeMaterial” etc. It DOES work but it would be way easier if the “Set Material Value Param” node only affected the chosen material.

Make sure each node you are using as a parameter has a unique name. or it will change for all nodes with that name that are set to parameter regardless of what material slot holds them. Rather annoying as it should just affect the chosen material ideally