Fixed a bug in find_min_single_variable() I introduced a few hours ago.