Bug fix for saving a search with an invalid column