Bug fix for the 'population' N-state model optimisation.
Constraints must be used at all times for this to work!!!
Authored by: bugman 2010-04-28
Parent: [r11166]
Child: [r11168]