issue #19453: fixed relational widget emptying bug