It doesn't quite work

So I think it should be working but it's not. It adds the task to the db
but when it searches for sessions in a given course it returns an empty
list. I'm not sure what the issue is. Could look at the database code
and make sure it looks good.