Fixes a few migrations