Is more a bug than a feature, that search is defined at this position in any case (we have till now), so it's safer to check for defined? and for presence?
Added advanced search
Merge pull request #231 from msievers/advanced_search

Added advanced search
Fix typo.