fix incorrect treatment of parameterBag as an array.