I'm not sure you have a problem, other than creating duplicate profiles. When you change the last name, you can't specify the number. When you change Fitzwilliam to Gerard, the system assigns the new Gerard profile the next number in the sequence of Gerards. Just initiate the merge and move on, and it will all work out.