Fixes #71: max value was never set to something other than the very large default