Fix bug with setColumns not clearing sorting preferences for columns that have been removed.