Fixed 'Bug 16651 - Crashing while searching for text'.