Ensure that a generated form's page seeds are idempotent.

Fixes #2673