Fixed bug with search consecutive search queries