Minor fix to migration