had forgotten to change thisSlug to parent.slug (a long time ago)