Restore if state not normal before collapse.

Fixes #7