Issue #3181094: Drupal 9 compatibility issues & issue with existing groups not inheriting the new group role permissions