Fix a bug in populating acl_role_permission.