Fix first model in namespace not being migrated