Fix inconsistent logging statement The conditions check for max, but the logging was copy/pasted and still uses the minimum.