Fixes bug in validation of string ParamTypes