contextSet);
vset.setInPredicate(Expression.NO_CONTEXT_ID != contextId);
return vset;
} else if (hasPreloadedData()) {
DocumentSet docs = getDocumentSet(contextSet);
<BUG>if (!optimized && (currentSet == null || currentDocs == null

|| !(docs == currentDocs || docs.equalDocs(currentDocs)))) {
</BUG>
ElementIndex index = context.getBroker().getElementIndex();

contextSet);
vset.setInPredicate(Expression.NO_CONTEXT_ID != contextId);
return vset;
} else if (hasPreloadedData()) {
DocumentSet docs = getDocumentSet(contextSet);
if (currentSet == null || currentDocs == null ||
(!optimized && !(docs == currentDocs || docs.equalDocs(currentDocs)))) {
ElementIndex index = context.getBroker().getElementIndex();
