We found a long-term bug with the toss wins with matches that have been migrated from the old PC software.
Where a toss was known, the toss win would sometimes be awarded to the wrong team depending on who batted first and who the home team was.
If the home team batted first and the home team had won the toss then it would be correct. If the away team batted second and the away team had won the toss then it would be correct. The other two combinations would result in the wrong team being awarded the toss win.
I am surprised this has taken around 4 years to get discovered, although the recent reports showing consecutive toss wins/losses certainly helped uncover it. I apologise for the inconvenience this may cause.
While this has been fixed for future migrations, the recommended way to fix it for existing matches:
Manually edit the match details and update the toss information based on your match records or
Re-migrate the old database again
Option#2 is not recommended since a re-migration is likely to create some duplicate player and match entries which will need to be cleaned up afterwards.
If anyone would like their old databases re-migrated to correct the toss-win data and are prepared to clean up any resulting duplicates then contact support@cricketstatz.com