Bug Report: "Ghost" default sort in table

Hello! I have a table that ended with "ghost" default sort items and can't be deleted in any way. How could I get help with this? It's breaking my application. :frowning:

Steps to reproduce:

  1. Create a table with data
  2. Add a default sorting
  3. Change the schema of the data
  4. Change the default sorting

What happens:
The table has now default sort references to un-existing columns and these can't be removed in any way.