bug on weight_conflict for constants with ids -1