Bug fix for the migrations...sorry
Bug fix #2 for the migration scripts. apologies.