Correctly deal with unspecified deadlines in bestfit
Fix bestfit