Fixed input of dates.
Now empty discounts really will not be shown.
Default sort is descending by date.