Workaround for restoring when inconsistent history.
Workaround for restoring when inconsistent history.

Deleplace/programming-idioms,Deleplace/programming-idioms,Deleplace/programming-idioms,Deleplace/programming-idioms