Fixed a bug in Factor::Factor( const VarSet&, const std::vector<S>& ) constructor