fix bug with assignment deadlines so it gets deadline associated with current course offering