Added support for non-unique slugs in relationship aggregates.