Fix for migrations flooding ouptut bug

Solve an warning that used to generate over 40.000 lines of unnecessary logs.
The migrations speed increase varies between 75% - 100% depending on migration.
Now the installation time is about 6 to 7 minutes (dropped from 11-12) 

Passes all test