In extractCourseIDFromProblemXEvent(): added protection against index error.
In extractCourseIDFromProblemXEvent(): added protection against index error.

paepcke/json_to_relation,paepcke/json_to_relation,paepcke/json_to_relation,paepcke/json_to_relation