Fixing the use of the "min" macro.