Updating nested array of objects using $addToSet

And the userId field in the arrayFilters is from the outer array field groups.