added check to SphinxQL::forge() and multiQuery()