Added DB validation to prevent overlap, and fixed the day view to use
agendaDay