Fixed #19547 - known_related_objects fixes.