Fixed resetWaivedStatuses function in courses2.js