Make find and replace work in order of adding them