Accepts some illegal queries in syntax-query