Fix busted search when there's no query.