Fix some misplaced migration errors