Fixed bug in lookup_table_get_min_value() - return max