Hotfix: Fix errors on advancedsearch