Handle api response of null for data when a list contains no entries.