preserve only the last 10 searches