Added support for mutiple terms in detail view.