#18 fixed condition in occurrence-preview.ftl to check if references has content