Make sure overviews in the backend sort on existing columns. Fixes #1026