Fix typo making the migration script stuck in a loop.