CMS-1951 New ContentForm PoC
Fixed handling of occurrences (both max and min).