Removed .first from date_sales return array. Now returns a 2D array with an array for each day of sales data