Fixed bug when course based database register was missing courseid, fixed number of downloads migration and fixed bug that prevented the preview of SCORMs after migration