user.list and user.listInvitableIds filtered on the singular User.role column, so the type tabs (Jury/Mentor/…) omitted users holding that role as a secondary role (User.roles[]). Match the role as primary OR secondary (roles hasSome), combined with search via AND, mirroring userHasRole / hasRole middleware. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>