exclude terms from search (fix #666)