Remove problem characters from ocr result.