Load a has_one target for a new record if possible

Fixes #18086
Please add parens here.