Hi @l.dorrestijn ,
I think this approach is the way to go. The results you are getting are Revit related since those values are probably saved whilst being dependent on the key schedule.
This code block containing a Code Block might be a bit more elegant though (Assume my elements are your parameter-values):
x.Name == null ? x : x.Name;
PS: What values are you getting from the Element.Name node?