LPS-44765 Avoid NPE in trash when deleting pages with redirectPages