Ok, in this case it should be described in comment, or use `$max` as boolean.
Can you add a test?