Fixed the call to generate_spin_id() in the return_spin_from_index() function.
Authored by: bugman 2008-04-20
Parent: [r5834]
Child: [r5836]