Fix wrong "undefined" comparison

A little fix of previous commit on autocompletion, where a != was used
instead of a !==
Merge pull request #421 from Nabellaleen/AddAutocompletionInAMessage

Fix wrong "undefined" comparison