Fix calculation of active attendee