Fix saving advanced search with no name

Addresses #379