Work around race condition
Work around race condition

When using @model instead of this.model the value seems to be replaced before the template is torn down causing an error when whatver takes its place ins't a course.

ilios/common,ilios/common