Possibly fix for the scan_words in minibuffer crash