Added autocomplete fix

Added fix for autocomplete bug per
http://forums.ulyssesmod.net/index.php/topic,7097.msg35763.html#msg35763