Corrected logical bug in send_upload_summary
Corrected logical bug in Teacher::send_upload_summary