Fixing issue with related content primary key