fix error with things in sort but not in columns
add test for column.id (call center app)
Merge pull request #874 from dimagi/fix-unexpected-error

Fix unexpected error