Fixed bugs with match histories