Bugfix: Script error when opening advanced search
Whitespace fixes
Merge pull request #1632 from reciprocity/feature/advanced-search-script-error

Bugfix: Script error when opening advanced search