The logic here is pretty confusing. If `has_content == False`, shouldn't we always be returning the empty courseware? There's no point to redirecting to a position in a course with no content. If you can make that assumption, then it should simplify the rest of the logic.