Fixing transfer of parameters in the newInstance function. For custom FilterParameter Widgets we need to use this type of code instead of the generic looping of the filter parameter code.