Fix for crash with transposing table workspaces. re #9813
Merge remote-tracking branch 'origin/feature/9813_table_ws_transpose_crash'