Terms lookup

Add lookup feature to terms filter.