fixed i207 http://gsd.uwaterloo.ca:8888/question/893/html-output-mishandles-soft-constraints