Fixing history rendering.