fix quoting of boost queries