Fixing getSlug() helper.