Fixing Undefined parent_slug.