src/main/java/org/jboss/pressgang/ccms/model/utils/EnversUtilities.java
public static <T extends AuditedEntity> Date getFixedLastModifiedDate(final EntityManager entityManager, final T entity) {
        return entity.getLastModifiedDate() != null ? entity.getLastModifiedDate() : getLatestRevisionDate(entityManager, entity);
    }
public static <T extends AuditedEntity> Date getFixedLastModifiedDate(final EntityManager entityManager, final T entity) {
        return entity.getLastModifiedDate() != null ? entity.getLastModifiedDate() : getLatestRevisionDate(entityManager, entity);
    }
When returning a collection of entity revisions, the lastModified property is set automatically (in the getRevision
method). For entities returned from a database query, the last modified date needs to be found manually.

@return either the date saved in the lastModified property, or the latest revision date if lastModified is null