Fixed a bug where course_id was not being asigned to new_assignment in the #create method