RAZ-1879: Groups: Users in many groups would sometimes not receive the proper access permission