Fix a bug that does not search when the Morse code is truncated.