for (KBObject metricProp : metricProps) {
ArrayList<KBObject> vals = tkb.getPropertyValues(varobj, metricProp);
if(vals == null)
continue;
for(KBObject val : vals) {
<BUG>if(vals.size() > 1) {
for(Metric mval : curmetrics.getMetrics().get(metricProp.getID())) {</BUG>
if(!val.isLiteral() && val.getID().equals(mval.getValue()))
continue;
else if(val.isLiteral() && val.getValue().equals(mval.getValue()))

for (KBObject metricProp : metricProps) {
ArrayList<KBObject> vals = tkb.getPropertyValues(varobj, metricProp);
if(vals == null)
continue;
for(KBObject val : vals) {
if(vals.size() > 1) {
if(!curmetrics.getMetrics().containsKey(metricProp.getID()))
continue;
for(Metric mval : curmetrics.getMetrics().get(metricProp.getID())) {
if(!val.isLiteral() && val.getID().equals(mval.getValue()))
continue;
else if(val.isLiteral() && val.getValue().equals(mval.getValue()))
