Bug fix for string param with allParametersOptional