Changed SmallPtrSet.count guard + SmallPtrSet.insert to just SmallPtrSet.insert.