Fixed both the list messing up bug and crashing when typing too fast bug for auto-complete