Switched course_id to integer, hopefully this fixes things...