Fix some conflicts in the attendance dao with dates