Fixes for the looping over non-protein/RNA/DNA residues.
Authored by: bugman 2008-04-11
Parent: [r5590]
Child: [r5592]