Fixed Previous searches bug