added safe to item.criteria in order to display html correctly on badge detail pages