Fix to adding duplicate pb_agents