Fix optstring estimation bug.