Stronger opponent recorded in game history but recorded weaker opponent in pie chart

My 1531th game, #51165683 was against the bot Deutzia. In my game history, the match is highlighted dark green as a game against a stronger opponent, but my pie chart for the day records it as a win against a weaker opponent. This win had suddenly ranked me higher than the bot. I believe this inconsistency is because game history records the opponent’s standing before the conclusion of the game, and the pie chart looks at the standing after the conclusion of the game.