Dynamically determine the first paragraph number when merging corrections