Attendance: allow attendance for unit-wide activities + fix bug when attendance list initially empty