search_context and bug fix in corpustools