Make sure that the parent ID mapping property is of string value before setting it