DDF-308 Fixed type casting of query message properties.