Fix EZP-21813: API Exception when having comment policy with limitation
Merge pull request #1080 from ezsystems/EZP-21813

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