Fixing migrations orders