fix variable reference ambiguity in check_course_instance_access
fix variable reference ambiguity in check_course_instance_access

kevinwang/PrairieLearn,rbessick5/PrairieLearn,lotrfan/PrairieLearn,kevinwang/PrairieLearn,rbessick5/PrairieLearn,lotrfan/PrairieLearn,rbessick5/PrairieLearn,tbretl/PrairieLearn,PrairieLearn/PrairieLearnHack,PrairieLearn/PrairieLearnHack,PrairieLearn/PrairieLearnHack,parasgithub/PrairieLearn,mwest1066/PrairieLearn,parasgithub/PrairieLearn,kevinwang/PrairieLearn,lotrfan/PrairieLearn,PrairieLearn/PrairieLearnHack,mwest1066/PrairieLearn,kevinwang/PrairieLearn,rbessick5/PrairieLearn,kevinwang/PrairieLearn,mwest1066/PrairieLearn,kevinwang/PrairieLearn,rbessick5/PrairieLearn,tbretl/PrairieLearn,lotrfan/PrairieLearn,PrairieLearn/PrairieLearnHack,parasgithub/PrairieLearn,PrairieLearn/PrairieLearnHack,jakebailey/PrairieLearn,parasgithub/PrairieLearn,PrairieLearn/PrairieLearnHack,parasgithub/PrairieLearn,lotrfan/PrairieLearn,mwest1066/PrairieLearn,kevinwang/PrairieLearn,tbretl/PrairieLearn,jakebailey/PrairieLearn,tbretl/PrairieLearn,jakebailey/PrairieLearn,jakebailey/PrairieLearn,PrairieLearn/PrairieLearnHack,lotrfan/PrairieLearn,lotrfan/PrairieLearn,mwest1066/PrairieLearn,tbretl/PrairieLearn