Make auto-generated slugs propagate. Fixes #831.
Merge