fixed bug in docket_processor.search_text()