This corrects the max function
This corrects the max function

Now instead of assuming numbers are sequential, it will calculate the
actual max.

puppetlabs/showoff,marrero984/showoff,wanix/showoff,wanix/showoff,puppetlabs/showoff,marrero984/showoff,binford2k/showoff,wanix/showoff,marrero984/showoff,puppetlabs/showoff,slambert/showoff,slambert/showoff,puppetlabs/showoff,slambert/showoff,marrero984/showoff,binford2k/showoff,slambert/showoff,binford2k/showoff,binford2k/showoff