Fixed advanced search bug

- Changed edismax to dismax in nested queries