Bug fix caught by build server related to LinearConstraints as costs.