mod/taskchain force recalculation of TaskChain grades and make utilities compatible with Moodle 2.6+