Issue adding multiple permitted roles to a business role using the Generic Importer

We are trying to use the Generic Importer to create business roles with multiple permitted roles. We have the permitted roles comma separated in a column labeled ‘Bundle.permits’ in an excel file being used for the import. The issue that we are seeing is that only the last permitted role from the list is saved in the business role when it is created. We are also seeing the same issue for required roles. We can see in our logs that the rule is successfully reading through all of the permitted roles in our comma separated list. We have tried moving the save into the inside of the loop, but it did not make a difference. The code in the rule that we are running is:

// Set permits and requires for Business Roles
  if (bundle.getType().equals("business")) {
    List permits = Util.csvToList(attributes.get("Bundle.permits"));
    List requirements = Util.csvToList(attributes.get("Bundle.requirements"));
    if (permits != null ) {
      for (String permit : permits) {
        if (permit != null) {
          permit = permit.trim();
          log.debug("Permit is.... " + permit + "XXX");
          bundle.addPermit(context.getObjectByName(Bundle.class,permit));
        } 
      }
    }
    if (requirements != null) {
      for (String require : requirements) {
        if (require != null)
          require = require.trim();
          log.debug("Require is.... " + require + "XXX");
          bundle.addRequirement(context.getObjectByName(Bundle.class,require.trim()));
      }     
    }
  }

  context.saveObject(bundle);
  context.commitTransaction();