Fix advanced search option.

Now it works.