Bug fix for the minimisation set() function.
The variable 'index' no longer exists as it is replace by the SpinContainer instance.
Authored by: bugman 2008-10-11
Parent: [r7609]
Child: [r7611]