Fix long-standing column calculation bug in history.tt.