Fixed Query::__toString()