fixed quotation bug in label
clicking a term will now put its label into the search input box (if there is one)