Fixed crash reported in 'Bug 10688 - Error in the text editor
extension chain'.