Fixes a bug where batched API calls bleed params.