Bug fix for the residue numbers.
This is CompIndexID and not SeqID!
Authored by: bugman 2009-03-10
Parent: [r8944]
Child: [r8946]