fix resetting courses with integration ids
fix resetting courses with integration ids

test plan:
* create a course
* give it an integration id through the api
* reset the course content from the settings page
* should work

closes #CNVS-17370

Change-Id: I66d935e4688e9854a6f47604e33e358d7a0308fa
Reviewed-on: https://gerrit.instructure.com/61003
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <2591e5f46f28d303f9dc027d475a5c60d8dea17a@instructure.com>
QA-Review: Jahnavi Yetukuri <ed2b2672ccc2e59e56c0615df7f01b579202e014@instructure.com>
Product-Review: James Williams  <3a5f4ed991dbfa5c9ef76ad729d240ca12f62180@instructure.com>

instructure/canvas-lms,leftplusrightllc/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,snehakachroo1/LSI_replica,instructure/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,grahamb/canvas-lms,fronteerio/canvas-lms,djbender/canvas-lms,redconfetti/canvas-lms,grahamb/canvas-lms,narigone/canvas,kyroskoh/canvas-lms,kyroskoh/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,matematikk-mooc/canvas-lms,SwinburneOnline/canvas-lms,SwinburneOnline/canvas-lms,venturehive/canvas-lms,snehakachroo1/LSI_replica,grahamb/canvas-lms,redconfetti/canvas-lms,dgynn/canvas-lms,snehakachroo1/LSI_replica,redconfetti/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,jay3126/canvas-lms,venturehive/canvas-lms,jay3126/canvas-lms,narigone/canvas,jay3126/canvas-lms,fronteerio/canvas-lms,kyroskoh/canvas-lms,dgynn/canvas-lms,matematikk-mooc/canvas-lms,narigone/canvas,HotChalk/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,AndranikMarkosyan/lms,AndranikMarkosyan/lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,roxolan/canvas-lms,AndranikMarkosyan/lms,narigone/canvas,HotChalk/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,AndranikMarkosyan/lms,matematikk-mooc/canvas-lms,jay3126/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,roxolan/canvas-lms,roxolan/canvas-lms,leftplusrightllc/canvas-lms,leftplusrightllc/canvas-lms,roxolan/canvas-lms,dgynn/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms