LPS-44765 Code introduced in LPS-34791 is not necessary since LPS-38655. Now when restoring a child o a redirect page, if the parent or the redirected page is in trash we set this values to blank in the restored page. So it's not possible to have a parent (or redirected) page in trash and it's childs (or redirect) pages Approved or Pending.
LPS-44765 Create test