I think this can be simplified:
```go
return max > n || !m.exclusive && max == n, nil
```