Fixes incorrect truncating for cached match history