When #6440 was introduced to fetch earnings by template, this broke the earnings that are queried with queryEarningsHistorical=False, as the team template would get stored resolved (e.g. mibr 2018, while the querying would be unresolved mibr).
I don't see an easy way to resolve them, as it would need a date for that to work as intended.
Probably needs to be solved with #5601 and CS needs to change their historical-but-separated team templates?