Fixed bug where if you typed too fast it would not return any result