Thanks, I’ve got it working now as it turns out that I managed to do it, but I now face another issue.
So I’m saying let’s take the user’s group’s:each item’s id plus item user’s rank’s id plus item user’s branch’s id join with ,
In this case, the user has NO groups and NO branches, so the only value I’d expect to see would be the Rank’s ID, which is what I get. However, this has a comma at the end of it despite there being no other value after this.
Edit: Doing a quick “count” shows that there is two items in my list, this makes no sense because I don’t understand how I can add an empty item to my list.