Fixes for the metadata update of the residue and spin name and number counts.
Authored by: bugman 2013-03-10
Parent: [r18739]
Child: [r18741]