Shifted the ENDMDL record to be before the CONECT records.
Authored by: bugman 2008-07-05
Parent: [r6725]
Child: [r6727]