Found the origin of the problem, someone needed to pass a function but the function was looking for a float; so they just multiplied the nDuration by 60 again to turn it into a float without removing the first check.
Also put back in support for Extend metamagic.