Little modification in instance view
Inserted constraint checking before configure model generation.