Fixing bug when the api is called with out a date range where no data was returned