Bug fix for the setup of the N-state model target function.
This is triggered by missing data.
Authored by: bugman 2011-10-12
Parent: [r14838]
Child: [r14840]