Don't save an empty query.