Fix bad search replace