fix to advanced search
Merge pull request #12 from boompig/master

fix to advanced search