Bugfix in migration 0005