This can be simplified as `teams.where(course: course).first`