Fix History crash.