Fixed nearest terms link creation in case of complex boolean queries.
Fixed nearest terms link creation in case of complex boolean queries.

tiborsimko/invenio-search,inveniosoftware/invenio-records,inveniosoftware/invenio-search,inveniosoftware/invenio-search,tiborsimko/invenio-records,tiborsimko/invenio-records,inveniosoftware/invenio-records,tiborsimko/invenio-search