History rendering bugfix

Should fix issue #7