Fixed a small bug with TextQuery::__iter__()