Issue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6)