Fix portlet rendering error when no items are present in periodical