Fix missing parent id/resource id on nested resources