Fixing manage_participant_attendance method