Fixed the check for None in molecule.name().
Authored by: bugman 2009-03-02
Parent: [r8895]
Child: [r8897]