Fixed populateGroups() in AccessRules when upgrading from 3.4