Bugfix: Fix migrations if multiple migrations have to run at the same time