Fixed a bug for queries prefixed with \.