fix for FormItemSetOccurrences