Fix date due ordering on the dashboard, see #403