issue #19494: Always set the right kind of model on relation widgets.