Fix a bug in __::max that breaks when passed an empty array.

Instead null should be returned.