Fix bug scaling item-item weights.