Added search target to history - table
Fixed double escaping