ECMS-5819: CLONE - Error showing PDF file in a linked detail page

Fix description:
  - Check the validity of jcr:lastModified before access to the property