Fixed synchronization attempt in AhoCorasickOptimized.