Sorry, yes, those are values of the fields. When you say ''...first solution,'' do you mean what I called ''Exp1?'' I'm guessing yes, so I went ahead and tried the expression you gave. I'm still seeing duplicates though. It works until I add another instance of group4 or group9.
Another thing I noticed in your expression was on the first ...