Fixed archive/unarchive action

* Bug fix: fixed archive/unarchive action to take into account the parent when
  context is a default page in folder.
  [ghicaale refs #21123]