Bug fix on GenerateInitConfig.

New method Interaction::updateState was not handled correctly.