Fixed advanced search not showing the right thing.