fixed bug preventing non-admins from assigning homework