Fixed one more bug with the auto complete thing.