Replace occurences of removeElementsBetween() with replaceElementsBetween()