Beat a rival even message said Beat rival, but it put me below rival, showing old lap time.
My old clean laptime 00:45:23
New clean laptime 00:41:50.
Bug in system obvisiously.
Unfortunately it is not so obvious - could be connection error.
I had this happen a few days ago. I posted a faster time during a race but at the end of the race it shown no mini-leaderboard and when later checking it still listed my previous time. Clearly it failed to communicate with the server.