Fix problem when event has no max participants limit
Previous behaviour
Steps to reproduce:
- Create event without max participants
- Go to the event API detail page
- Error
New behaviour
Steps to validate that it works:
- Create event without max participants
- Go to the event API detail page
- No error