Minor fix to migration class