Added support for confidence/relevance filtering