comparison: fix bug handling min_t()