Fix isWeightChanged