Fix EZP-20654: eZPageBlockState crashes page edition because the cookie reaches maximum size.
  - Applied modification suggested on the pull request