Fixed bug in instant search