Did you mean for `bad_custom_params` to be a dict or a set? Because right now, it's a set.