save the logic after adding the slug.

Is a hotfix. Actually changes the migration, as it has not been deployed to staging.ontohub.org yet.