This will modify the secondary_pools array which is not what we want here.