Fixed #19399 -- Do not recreate RelatedObject instances.