Made setObjectiveSense do some validation