Fix EZP-21813: API Exception when having comment policy with limitation

> https://jira.ez.no/browse/EZP-21816