if limit is not None:
                query_limit = min(limit - reply_count + 1, query_limit)