Fix for the __atom_index() method. This is a partial fix for bug #12637 (https://gna.org/bugs/?12637).
The struct_index of None is now handled.
Authored by: bugman 2008-11-27
Parent: [r8027]
Child: [r8029]