Fixed typo in advanced search. Fixes #7979