fix null array if the user is in no groups.