First check whether both sides reference the same version table, then whether their effective timestamps were updated together; most mismatches come from one side changing only the page.
Generate the version marker from one place and have both page and script reference it; on a mismatch, correct the script by order time rather than editing historical order versions.
This covers investigation order only and assigns no responsibility for a single mismatch. Record states as they are, without cross-market absolute comparisons, and note flat numbers as flat.