Removed spare math.max of one argument.