Bug fix in initializing state engine to previous SCN