Prevent indexing of old versions of a page (fixes #768)

No test file, sorry.