Fixed bug in HistoryModel::headerData().