Parsing the relationship Ids sent when deleting.