Re #10171. Protect against failures in Rebin.
Merge branch 'bugfix/10171_pick_tab_shape_crash' into develop