The latest changes have resulted in errors on the profile. There are now "Cite error 4; Invalid
<ref> tag; refs with no name must have content" errors.
There are also now duplicated name ref definitions in the profile. Those will likely result in "869 Duplicated named Inline citations" errors when the next weekly Suggestions Report comes out. "864 Almost empty <ref/> tags" errors may also be generated.
I believe that Peter was originally correctly reusing the existing named references without creating duplicate name references. I'd suggest reverting the latest changes.
I still believe that the original error check message that Peter encountered is related to the fact that the validation routine doesn't correctly account for spaces around the = sign after "name" in a name ref definition (name = "blahblahblah"). I believe that removing the spaces surrounding the = sign (resulting in name="blahblahblah") will resolve the error check message that Peter originally encountered. See the link in my answer for more details.