Fixed for the N-state model target functions for when there is nothing to optimisise.
Authored by: bugman 2010-06-29
Parent: [r11258]
Child: [r11260]