Certain changes to a document may require you to manually instruct Affinity to update cross-reference's values.
Preflight will generate errors for any cross-reference that is out of date or invalid after you:
On the Cross-References panel: