Fixed null marketgroupid exception