Fixing bug in chooseVisitor - setStatsFromObj