Fixed return type for variadic min and max.