Sweeping !39051 from master to 21.2. SelectionHelpers: Fix use of dangling reference.
SelectionHelpers: Fix use of dangling reference.
See merge request !39051 (merged)
SelectionHelpers: Fix use of dangling reference.
See merge request !39051 (merged)