Fix null values of items in dates API