Fix failing delate test. Fixes #10823