Fixed critical bug of MSet.