Fixed archive/unarchive content rules

* Bug fix: fixed archive/unarchive content rules logic.
  [ghicaale refs #19953]
* Upgrade step: enable on production the "Archive previous version" and
  "Unarchive previous version" content rules.
  [ghicaale refs #19953]