I suggest attaching your script - more context is needed.
It appears the value isn’t relevant, or the parameter name doesn’t exist. This might be due to the format of what is being filtered (e.g. text instead of number).