Only fetch courses if there are any active modules.