Fix bug that prevented using contour data files

Still needs more testing for cases other than loading existing
constraints from a log file.