'type' attribute of 'filter' element in Query XML should be quoted.