Fixed handling of parameters that return a nodeset