Modifications in deleteAttendance