Bug fixed - java.lang.NullPointer when loading empty history.