Fix bug with key for sortSelector in main dashboard.