Fixed a bug in msc where executequery would not work with null values for argnames and args