Fix compiler warning in HistoryUI

No match.