Fixed 500 error on views with incomplete course id in url.
LMS-11217