Fix history load

Signed-off-by: Cody Massin <keyosk@gmail.com>